AmeliaBooking\Application\Services\Reservation\AbstractReservationService D

Total Complexity 159
Dependencies 37
Dependents 0
Total lines 1,013
Lines of code 614
Logical lines of code 287
Comment lines 200
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
processBooking()
C
33 27 92
finalize()
C
32 21 115
processRequest()
B
38 23 64
addPayment()
B
38 22 64
getPaymentAmount()
A
44 16 39
runPostBookingActions()
A
42 10 57
calculateDepositAmount()
A
53 9 24
getSuccessBookingResponse()
A
41 5 64
getWcStatus()
S
59 7 12
getResultData()
S
55 5 21
deleteReservation()
S
55 5 20
inspectMinimumCancellationTime()
S
62 2 12
setToken()
S
68 2 7
deleteUserIfNew()
S
71 2 6
manageException()
S
69 1 7
getNew()
S
68 1 7
__construct()
S
81 1 3